package com.wondertek.service.dto.sys.req;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;


/**
 * @author xqs
 */
@Data
public class SysLoginReq {

    /**
     * 登录表单id
     */
    @NotBlank(message = "form.id.not.null")
    @Schema(name = "formId", description = "表单id")
    private String formId;

    /**
     * 验证码
     */
    @NotBlank(message = "captcha.not.null")
    @Schema(name = "captcha", description = "验证码")
    private String captcha;

    /**
     * 用户名
     */
//    @NotBlank(message = "用户名不能为空")
//    @Schema(name = "username", description = "用户名")
//    private String username;

    /**
     * 邮箱
     */
    @NotBlank(message = "email.not.null")
    @Schema(name = "email", description = "邮箱")
    private String email;

    /**
     * 密码
     */
    @NotBlank(message = "password.not.null")
    @Schema(name = "password", description = "密码")
    private String password;

}
